import {history} from '@umijs/max';

export const redirectToLogin = () => {
    // @ts-ignore
    history.replace({
        pathname: '/',
    });
};

export const redirectToChoose = () => {
    // @ts-ignore
    history.replace({
        pathname: '/choose',
    });
};

// export default redirectToLogin;
